package com.quick.develop.form.service;

import com.quick.develop.framework.common.page.PageResult;
import com.quick.develop.framework.common.service.BaseService;
import com.quick.develop.form.entity.GenDynamicFormGroupEntity;
import com.quick.develop.form.query.GenDynamicFormGroupQuery;
import com.quick.develop.form.vo.FormGroupVO;
import com.quick.develop.form.vo.GenDynamicFormGroupVO;

import java.util.List;

/**
 * 表单组
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2023-09-30
 */
public interface GenDynamicFormGroupService extends BaseService<GenDynamicFormGroupEntity> {

    PageResult<GenDynamicFormGroupVO> page(GenDynamicFormGroupQuery query);

    void save(GenDynamicFormGroupVO vo);

    void update(GenDynamicFormGroupVO vo);

    void delete(List<Long> idList);

    List<FormGroupVO> getFormGroupsByFormId(Integer id);
}